
namespace Entities
{
    /// <summary>
    /// 钢丝绳检查表(通过DeviceID获取)
    /// </summary>
    [SugarTable("wi.MHCheck")]
    public partial class MHCheck
    {
        /// <summary>
        /// 编号
        /// </summary>
        [SugarColumn(ColumnName = "MHCheckID", IsPrimaryKey = true, IsIdentity = true)]
        public int MHCheckID { get; set; }

        /// <summary>
        /// 磁头
        /// </summary>
        [SugarColumn(ColumnName = "MHID")]
        public int MHID { get; set; }

        /// <summary>
        /// 钢丝绳类型
        /// </summary>
        [SugarColumn(ColumnName = "WireropeType", Length = 200)]
        public string WireropeType { get; set; }

        /// <summary>
        /// 钢丝绳编号
        /// </summary>
        [SugarColumn(ColumnName = "WireropeSN", Length = 200)]
        public string WireropeSN { get; set; }

        /// <summary>
        /// 钢丝绳直径
        /// </summary>
        [SugarColumn(ColumnName = "Diameter")]
        public int Diameter { get; set; }

        /// <summary>
        /// 公司
        /// </summary>
        [SugarColumn(ColumnName = "Company", Length = 200)]
        public string Company { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        [SugarColumn(ColumnName = "ResponsiblePerson", Length = 200)]
        public string ResponsiblePerson { get; set; }

        /// <summary>
        /// 报告名称
        /// </summary>
        [SugarColumn(ColumnName = "ReportName", Length = 200)]
        public string ReportName { get; set; }

        /// <summary>
        /// 报告生成时间
        /// </summary>
        [SugarColumn(ColumnName = "CheckTime")]
        public long CheckTime { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [SugarColumn(ColumnName = "State", Length = 50)]
        public string State { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        [SugarColumn(ColumnName = "Content", IsNullable = true, Length = 4000)]
        public string Content { get; set; }
    }
}
